import React from 'react';
import { lazy } from 'react';
import L from '../../L';
import ContentLoading from '../../components/contentLoading'
// 自定义组件
const Content = lazy(() => (
    process.env.REACT_APP_PROJECT_NAME
    ? import(`./${process.env.REACT_APP_PROJECT_NAME}/index`)
    : import(`./DefaultContent`)
))


export default function(){
    return <L Loading={ContentLoading}><Content /></L>
}